<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/6/5
  Time: 0:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>网上商城</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/reset.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/theme.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/global.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/web.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/base.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/activity_tab.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/bottom_rec.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/nice_select.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/order.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/swiper-3.3.1.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/order/pages-weixinpay.css">
</head>
<body>
<div class="Page Confirm">
    <div class="Title">
        <h1 class="fl f18">订单确认</h1>
        <input type="hidden" value="${order.orderNo}">
        <img src="${pageContext.request.contextPath}/images/order/cart_setp2.png" class="fr">
        <div class="clear"></div>
    </div>
    <form name="flowForm" id="flowForm" method="post" action="">
        <table class="GoodList">
            <tbody>
            <tr>
                <th class="name">商品</th>
                <th class="price">原价</th>
                <th class="priceNew">价格</th>
            </tr>
            </tbody>
            <tbody>
            <tr>
                <td colspan="3" class="Title red f18 fb"><p>限时折扣</p></td>
            </tr>
            <tr class="good">
                <td class="name First">
                    <a target="_blank" href="#">
                        <img src="${pageContext.request.contextPath}/${order.commodityImg}"></a>
                    <div class="goodInfo">
                        <input type="hidden" class="ids ids_14502" value="14502">
                        <a target="_blank" href="#">${order.commodityName}</a>
                    </div>
                </td>
                <td class="price">
                    <p>￥<strong>${order.totalFee}</strong></p>
                    <!-- <span class="discName red">限时8折</span> -->
                </td>
                <td class="red priceNew Last">￥<strong>${order.totalFee}</strong></td>
            </tr>
            <tr>
                <td class="Billing tr" colspan="3">
                    <div class="tr">
                        <p>共 <strong class="red">1</strong> 件商品，合计<span
                                class="red f20">￥<strong>${order.totalFee}</strong></span></p>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="Finish">
            <div class="fr" id="AgreeDiv">

                <label for="Agree"><p class="on"><input type="checkbox" checked="checked">我已阅读并同意<a href="javascript:" target="_blank">《OnlineMall购买协议》</a></p></label>
            </div>
            <div class="clear"></div>
            <div class="Main fl">
                <div class="fl">
                    <a :href="'/course/'+order.courseId">返回购物车</a>
                </div>
                <div class="fr">
                    <p>共 <strong class="red">1</strong> 件商品，合计<span class="red f20">￥<strong
                            id="AllPrice">${order.totalFee}</strong></span></p>
                </div>
            </div>
            <input name="score" value="0" type="hidden" id="usedScore">
            <a class="fr redb"  id="submitPay"  style="width: 170px;height: 70px;line-height: 1;font-size: 24px;border-radius: 0;" href="${pageContext.request.contextPath}/order/createNative?orderNo=${order.orderNo}" ><span style="margin-left: 20px;padding: 20px">去支付</span></a>
            <div class="clear"></div>
        </div>
    </form>
</div>
<script>
    var orderNo = ${order.orderNo};
    function toPay(){

    }
</script>
</body>
</html>
